package com.hjxr.xmgl.web.domain;


import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 指标分类管理对象 quota_category
 *
 * @author hjxr
 * @date 2021-12-02
 */
public class QuotaCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类编号 */
    private String catId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String catName;

    /** 上级分类编号 */
    @Excel(name = "上级分类编号")
    private String parentId;

    /** zbfl:指标分类;yjfl:预警分类 */
    @Excel(name = "zbfl:指标分类;yjfl:预警分类")
    private String type;

    /** 编码 */
    @Excel(name = "编码")
    private String catCode;

    /** 全路径（依;分割) */
    @Excel(name = "全路径", readConverterExp = "全路径（依;分割)")
    private String path;

    public void setCatId(String catId)
    {
        this.catId = catId;
    }

    public String getCatId()
    {
        return catId;
    }
    public void setCatName(String catName)
    {
        this.catName = catName;
    }

    public String getCatName()
    {
        return catName;
    }
    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getParentId()
    {
        return parentId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setCatCode(String catCode)
    {
        this.catCode = catCode;
    }

    public String getCatCode()
    {
        return catCode;
    }
    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath()
    {
        return path;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("catId", getCatId())
            .append("catName", getCatName())
            .append("parentId", getParentId())
            .append("type", getType())
            .append("catCode", getCatCode())
            .append("path", getPath())
            .toString();
    }
}
